package com.zy.mc_module.ui.micang.setting;

import android.content.Intent;

import androidx.annotation.NonNull;

import com.zy.mc_module.base.kotlin.BaseActivity;
import com.zy.mc_module.databinding.ActivityMicangSettingPayBinding;
import com.zy.mc_module.ui.micang.RiceContract;
import com.zy.mc_module.ui.micang.RicePresenter;
import com.zy.mc_module.utils.StatusBarUtil;

/**
 * created by Jaygee_vi
 * 2022/10/19
 */
public class MiCangSettingPayActivity extends BaseActivity<RiceContract.View, RicePresenter, ActivityMicangSettingPayBinding> {
    @NonNull
    @Override
    public ActivityMicangSettingPayBinding getViewBinding() {
        return ActivityMicangSettingPayBinding.inflate(getLayoutInflater());
    }

    @Override
    protected void initView() {
        super.initView();
        StatusBarUtil.setImmersiveStatusBar(this);
        binding.viewTitle.tvTitle.setText("支付设置");

        Intent intent = new Intent(this , MiCangSettingPayAliActivity.class);

        binding.clAlipay.setOnClickListener(v ->{
            intent.putExtra("type" ,0);
            startActivity(intent);
        });

        binding.clBank.setOnClickListener(v ->{
            intent.putExtra("type" ,1);
            startActivity(intent);
        });
    }

}
